#TODO: main script